package com.woniu.zsd.platform.service;

import com.woniu.zsd.common.web.PageInfo;
import com.woniu.zsd.platform.model.RecycleBin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.zsd.platform.param.AddRecycleBinParam;
import com.woniu.zsd.platform.param.SelectStationParam;
import com.woniu.zsd.platform.param.UpdateRecycleBinParam;
import com.woniu.zsd.platform.param.UpdateSiteScoreBySiteIdParam;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangtao
 * @since 2025年02月18日
 */
public interface RecycleBinService extends IService<RecycleBin> {

    String selectStationNameByStationId(Integer stationId) throws Exception;


    void updateSiteScoreBySiteId(UpdateSiteScoreBySiteIdParam param) throws Exception;

    List<Integer> selectRecycleBinByLocation(BigDecimal longitude, BigDecimal latitude);

    void addRecycleBin(AddRecycleBinParam param) throws Exception;

    void deleteRecycleBin(Integer stationId) throws Exception;

    void updateRecycleBin(UpdateRecycleBinParam param) throws Exception;

    Integer selectStationIdByAccountId(Integer accountId) throws Exception;

    PageInfo selectAllStation(SelectStationParam param) throws Exception;
}
